package com.cqhilink.iot.jobstandardmanagement.dao.mapper;

import com.cqhilink.iot.jobstandardmanagement.facade.model.DeviceRecord;

import java.util.List;

public interface DeviceRecordMapper {
    int deleteByPrimaryKey(String deviceRecordId);

    int insert(DeviceRecord record);

    int insertSelective(DeviceRecord record);

    DeviceRecord selectByPrimaryKey(String deviceRecordId);

    int updateByPrimaryKeySelective(DeviceRecord record);

    int updateByPrimaryKey(DeviceRecord record);
    /**
     *查询该设备的出库、启用、废弃的时间信息
     * @param deviceRecord
     * @return
     */
    List<DeviceRecord> selectByDericeId(DeviceRecord deviceRecord);
}